package com.wenx.study;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by Think on 2018/11/25.
 */
public class Context {
    private int id;
    private String name;
    private Map<String, Object> map;

    public Context() {
        map = new ConcurrentHashMap<>();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;
    }
}
